package com.stu.graph;

import java.util.LinkedList;

import android.graphics.PointF;

public class DataSeries {
	public String name;
	public DataStyle style;
	public LinkedList<PointF> values;
	public boolean visible;

	public DataSeries( String name, DataStyle style ) {
		this.name = name;
		this.style = style;
		this.values = new LinkedList<PointF>();
		visible = true;
	}

	public DataSeries(String name, DataStyle style, LinkedList<PointF> values) {
		this.name = name;
		this.style = style;
		this.values = values;
		visible = true;
	}

	public void appendData(PointF value) {
		values.add( value );
	}
}
